#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include "index.h"
#include "planwidget.h"
#include "routewidget.h"
#include "wdownwidget.h"
#include "exportwidget.h"
namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();
    index* index_dialog;
    planWidget* plan_dialog;
    routeWidget* route_dialog;
    wdownWidget* wdown_dialog;
    exportWidget* export_dialog;

private slots:
    void showWindow(bool judge);
    void on_pushButton_clicked();

    void on_route_btn_clicked();
    
    //void on_pushButton_2_clicked();

    void on_log_btn_clicked();

    void on_export_btn_clicked();

private:
    Ui::MainWindow *ui;
};

#endif // MAINWINDOW_H
